package takeout_api

import (
	"takeout-api/handler/api"

	"github.com/gin-gonic/gin"
)

func Route() *gin.Engine {
	r := gin.Default()
	r.POST("/orderAdd", api.OrderAdd)        //订单创建
	r.POST("merchantList", api.MerchantList) //商家查看订单列表
	r.POST("riderList", api.RiderList)       //骑手查看订单列表
	return r
}
